package com.orange.cepappmanager.model.converter;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.orange.cepappmanager.model.Phone;

@XmlRootElement(name = "phone")
public class PhoneConverter {

	private Phone entity = null;

	public PhoneConverter() {
		entity = new Phone();
	}

	public PhoneConverter(Phone entity) {
		this.entity = entity;
	}

	@XmlElement
	public String getName() {
		return entity.getName();
	}

	@XmlElement
	public String getId() {
		return entity.getId();
	}

	@XmlElement
	public String getStatus() {
		return entity.getStatus();
	}

}
